package com.xiao.sulingwallet.feign;

import com.xiao.sulingpublic.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: 1322127758@qq.com
 * @date: 2022/3/30 20:26
 * @作用:
 */
@FeignClient("suling-order")
public interface OrderFeign {
    /**
     * 按订单号修改支付状态, 支付状态 null/0没支付 1支付 2过期 3退款
     */
    @RequestMapping("/sulingoxqg/order/update/parstate")
    //@RequiresPermissions("sulingoxqg:order:update")
    R updatePayState(@RequestParam("orOrderSn")String orOrderSn, @RequestParam("parSuccess")String parSuccess);
}
